<?php
/**
 * Author: Administrator
 * Date: 2022/7/15 2:09
 */

namespace DesignPatterns\Creation\Builder\Parts;

abstract class Vehicle
{
    protected $parts;

    public function addParts($name, $part) {
        $this->parts[$name] = $part;
    }
}